package com.cw.base.jeeyc.deploy.intf;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import com.cw.base.common.model.dto.response.CommonRespDto;
import com.cw.base.jeeyc.deploy.dto.DeployDictItemDto;
import com.cw.base.jeeyc.deploy.dto.response.BatchDictItemQueryRespDto;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * 数据字典项查询接口
 *
 * @author chenw
 * @date 2019-08-26 21:21:57
 */
public interface DeployDictItemQueryApi {
    /**
     * 分页查询数据字典项
     *
     * @param request 条件
     * @return PageInfo<DeployDictItemDto>
     */
    @PostMapping("/selectPage")
    CommonRespDto<Page<DeployDictItemDto>> selectPage(@RequestBody DeployDictItemDto request);

    /**
     * 查询数据字典项详细信息
     *
     * @param request 条件
     * @return DeployDictItemDto
     */
    @PostMapping("/queryDetail")
    CommonRespDto<DeployDictItemDto> queryDetail(DeployDictItemDto request);

    /**
     * 批量查询字典项列表
     *
     * @param request
     * @return
     */
    @PostMapping("/batchQueryDictItem")
    CommonRespDto<BatchDictItemQueryRespDto> batchQueryDictItem(DeployDictItemDto request);
}
